package com.ruoyi.biz.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BizBaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;


/**
 * 收款登记对象 biz_receipt
 * 
 * @author tianl
 * @date 2025-01-01
 */
@Data
@Accessors(chain = true)
@TableName("biz_receipt")
public class BizReceipt extends BizBaseEntity {
    private static final long serialVersionUID = 1L;

    /** 所属项目 */
    private Long projectId;

    /** 计划收款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "收款时间",sort = 3, width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date receiptTime;

    /** 状态（0待收，1已收）*/
    @Excel(name = "收款状态"
            ,readConverterExp="0=待收款,1=已收款"
            ,sort = 4)
    private Integer status;

    /** 收款金额 */
    @Excel(name = "收款金额",sort = 2)
    private BigDecimal receiptMoney;

    /** 款项名称 */
    @Excel(name = "款项名称",sort = 5)
    private String receiptName;

    /** 备注 */
    @Excel(name = "备注",sort = 6,width = 60)
    private String memo;

    /** 创建人 */
    private Long userId;

}
